package com.chuangke.admin.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class RegisterBean {
	@NotNull
	@Size(max=20,min=6,message = "账号长度要在6-20之间")
	private String account;
	@NotNull
	@Size(max=20,min=6,message = "账号密码要在6-20之间")
	private String password;
	@NotNull
	private String phone;
	@NotNull
	private String name;
	@NotNull
	private String deptId;
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	
}
